﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewAll.ascx.cs" Inherits="Team4Mock.UserControl.Government.ViewAll" %>
<%@ Register Src="~/UserControl/Government/AddGov.ascx" TagName="GovAdd" TagPrefix="uc1" %>
<style type="text/css">
    .style3
    {
        width: 233px;
    }
    .style4
    {
        width: 97px;
    }
    .style5
    {
        width: 173px;
    }
    h3{font-size:17px;margin:0px;}
</style>
<asp:Panel ID="pnView" runat="server">
    <div id="Directorate" class="tab_content">
        <fieldset style="margin-left: 0px; width: 740px;">
            <legend style="height: 25px; background-color: #465c71; -webkit-border-radius: 5px 5px 0px 0px;
                color: #dde4ec; font-size: 18px;">Government Office Region List</legend>
            <div style="width: 486px; float: left; height: 32px; font-size: 14px; line-height: 32px;">
                <a href="#">All</a>&nbsp;&nbsp;| <a href="#">0-9</a>&nbsp;&nbsp;| <a href="#">A-B-C-D-E</a>&nbsp;&nbsp;|
                <a href="#">F-G-H-I-J</a>&nbsp;&nbsp;| <a href="#">K-L-M-N</a>&nbsp;&nbsp;| <a href="#">
                    O-P-Q-R</a>&nbsp;&nbsp;| <a href="#">S-T-U-V</a>&nbsp;&nbsp;| <a href="#">W-X-Y-Z</a>
            </div>
            <div style="float: left; height: 32px; line-height: 32px;">
                &nbsp; &nbsp;
                <asp:CheckBox ID="CheckBox1" runat="server" Text="In-active" Style="font-size: 15px;" />
            </div>
            <div style="width: 784px;float:left;font-size: 15px;">
                <asp:GridView ID="gvGor" AutoGenerateColumns="False" DataKeyNames="ID" runat="server"
                    Width="725px" Font-Size="15px" BackColor="White" BorderColor="#CCCCCC" AllowSorting="true"
                    BorderStyle="None" BorderWidth="1px" CellPadding="3">
                    <Columns>
                        <asp:TemplateField HeaderText="ID" Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lbID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Government Office Region Name">
                            <ItemTemplate>
                                <asp:HyperLink ID="OrgName" runat="server" NavigateUrl='<%#"/FormView/Government.aspx?"+"ID="+Eval("ID") %>'
                                    Text='<%#Eval("Name") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Description">
                            <ItemTemplate>
                                <asp:Label ID="lbHOA" runat="server" Text='<%#Eval("Description") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="County">
                            <ItemTemplate>
                                <asp:Label ID="lbContact" runat="server" Text='<%#Eval("CountyName") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Is Active">
                            <ItemTemplate>
                                <asp:Label ID="lbActive" runat="server" Text='<%#Eval("IsActive") %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </div>
        </fieldset>
    </div>
</asp:Panel>
<asp:Panel ID="pnct" runat="server" Width="755px" Style="margin-left:10px;">
    <h3>
    Government Office Region Details</h3>
<div style="width: 754px;">
    <ul class="tabs" style="width: 760px; float: left;">
        <li><a class="tab">Details</a></li>
    </ul>
    <br />
    <div class="tab_container">
        <div id="Details1" class="tab_content">
            <table width="700px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                <tr>
                    <td class="style2">
                        Government Office Region Name</td>
                    <td class="style3">
                        <asp:TextBox ID="txtName" runat="server" Width="186px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style4">
                        Description</td>
                    <td class="style5">
                        <asp:TextBox ID="txtDescription" runat="server" Width="186px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        County</td>
                    <td colspan="3" class="style6">
                        <asp:TextBox ID="txtCounty" runat="server" Height="63px" Style="margin-left: 0px" TextMode="MultiLine"
                            Width="186px"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <asp:Button ID="btnBack" runat="server" Text="Back" CssClass="button" OnClick="btnBack_Click" />
    
</div>
</asp:Panel>